package com.qiudaozhang.service;

import com.qiudaozhang.dto.ResponseCode;
import com.qiudaozhang.model.GoodsInfo;

public interface GoodsService {


    ResponseCode query(String goodsName);

    void add(GoodsInfo goodsInfo);

    GoodsInfo queryById(Long id);

    void modifyById(GoodsInfo goodsInfo);

    ResponseCode delById(Long id);
}
